﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Day02PM
{
    public class Salesman : Job
    {
        //public override float Commission()
        //{
        //    return 100000;
        //}
        public float SaleAmount { get; set; }
        public override float CalculateSalary()
        {
            BasicSalary = 2000;
            return base.CalculateSalary() + SaleAmount * 0.05f;
        }
    }
}